home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / c / CLib-SDI.lha / CLib-SDI / libsource / makefile.vbcc < prev    next >
Makefile  |  2002-10-27  |  453b  |  18 lines

  1. CFLAGS = -O2 -c -I/include2/ -I/include/C -D__NOLIBBASE__
  2. LFLAGS = -nostdlib
  3.  
  4. # the directory, where destination library is stored
  5. DDIR = /libs/
  6.  
  7. $(DDIR)example.library: libinitvbcc.o examplefuncsvbcc.o
  8.     vc $(LFLAGS) -o $@ libinitvbcc.o examplefuncsvbcc.o
  9.     
  10. libinitvbcc.o: libinfo.h libinit.c
  11.     vc $(CFLAGS) -o $@ libinit.c
  12.  
  13. examplefuncsvbcc.o: libinfo.h examplefuncs.c
  14.     vc $(CFLAGS) -o $@ examplefuncs.c
  15.  
  16. clean:
  17.     delete libinitvbcc.o examplefuncsvbcc.o
  18.